package com.micro.frog.fortune.config;

import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Jason.lv
 * @since 2022/2/22 15:25
 */
@Configuration
public class MybatisConfig {

  @Bean
  public PaginationInnerInterceptor paginationInnerInterceptor(){
    return new PaginationInnerInterceptor();
  }
}
